package tg.app.aqplan;

import java.rmi.RemoteException;
import psdi.mbo.Mbo;
import psdi.mbo.MboServerInterface;
import psdi.mbo.MboSet;
import psdi.util.MXException;

/***
 * 
 * @author pzx
 * 
 */
public class AqplmxSet extends MboSet implements AqplmxSetRemote {
	
	public boolean current;
	public boolean history;

	public AqplmxSet(MboServerInterface ms) throws MXException, RemoteException {
		super(ms);
		this.current = false;
		this.history = false;
	}

	protected Mbo getMboInstance(MboSet ms) throws MXException, RemoteException {
		return new Aqplmx(ms);
	}

	public boolean getHistory() {
		return this.history;
	}

	public void setHistory(boolean historyPRs) throws MXException,
			RemoteException {
		this.history = historyPRs;
	}

	public void setCurrent(boolean currentPRs) throws MXException,
			RemoteException {
		this.current = currentPRs;
	}

	public boolean getCurrent() throws MXException, RemoteException {
		return this.current;
	}

	public String getUserPrefWhere() {
		StringBuffer where = new StringBuffer();

		return where.toString();
	}
}
